<?php
$this->pageTitle = Lang::t('app.title');
$form = $this->beginWidget('ActiveForm', $formConfig); 
?>

<div class="box">
    <div class="box-content">
        <div class="text-center">
            <h3 class="page-header"><?php echo Lang::t('user.login.page.title'); ?></h3>
            <?php //echo Lang::t('user.login.form.note');   ?>
        </div>
        <?php
        echo $form->alert($model, array(
            'errorMessageHtmlOptions' => array('class' => 'alert alert-danger'),
            'flashHtmlOptions' => array('class' => 'alert alert-'),
        ));
        ?>
        <div class="form-group">
            <label class="control-label"><?php echo $form->labelEx($model, 'username_'); ?></label>
            <?php echo $form->textField($model, 'username_', array('class' => 'form-control', 'placeholder' => $model->getAttributeLabel('username_'))); ?>
            <?php //echo $form->error($model, 'username_'); ?>
        </div>
        <div class="form-group">
            <label class="control-label"><?php echo $form->labelEx($model, 'password_'); ?></label>
            <?php echo $form->passwordField($model, 'password_', array('class' => 'form-control', 'placeholder' => $model->getAttributeLabel('password_'))); ?>
            <?php //echo $form->error($model, 'password_'); ?>
        </div>
        <div class="text-center">
            <button type="submit" class="btn btn-primary"><?php echo Lang::t('user.login.btn.submit'); ?></button>
        </div>
    </div>
</div>

<?php $this->endWidget(); ?>